package com.gm.wholesale.db.order.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * 挂单列表项
 */
@DatabaseTable(tableName = "DBOrderBean")
public class DBOrderBean implements Serializable {
    @DatabaseField
    private String unionId;
    @DatabaseField
    private long time;
    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField
    private String orderId;
    @DatabaseField
    private long userId;
    @DatabaseField
    private String tempId;

    @DatabaseField
    private String other1; //todo 不想更新本地数据库，这个用来保存客户名字信息

    @DatabaseField
    private String other2;


    @DatabaseField
    private long other3;

    public String getTempId() {
        return tempId;
    }

    public void setTempId(String tempId) {
        this.tempId = tempId;
    }

    public String getOther1() {
        return other1;
    }

    public void setOther1(String other1) {
        this.other1 = other1;
    }

    public String getOther2() {
        return other2;
    }

    public void setOther2(String other2) {
        this.other2 = other2;
    }

    public long getOther3() {
        return other3;
    }

    public void setOther3(long other3) {
        this.other3 = other3;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
